import React, { Component } from 'react';
import {
    StyleSheet,
    Text,
    View
} from 'react-native';
/*
方式一：ES6定义一个组件
推荐
*/
export default class HelloComponent extends  Component{
  render(){
      return <Text style={{fontSize:20,color:'red'}}>Hello hi</Text>
  }
}


